import { ChangePassword } from '/@/api/sys/model/passwordModel';
import { tenantHttp } from '/@/utils/http/axios';

enum Api {
  CHANGE_PASSWORD = '/user/updateDefaultPassword',
}

export const editPassword = (params: ChangePassword) => {
  return tenantHttp.post<string>({ url: Api.CHANGE_PASSWORD, params });
};
